<template>
  <view class="cont">
<view  v-html="msg"></view>
  </view>
</template>

<script>
import api from "../../../api/routes";
export default {
  data(){
    return{
      msg:''
    }
  },
   onLoad(e) {
    this.$myRequest({
        url: api.msgDetail,
        method: "GET",
        data: {
          msgId:e.id,
        },
      }).then(res=>{
        this.msg = res.data.detail.content;
      })
  },
}
</script>

<style lang="scss" scoped>
.cont{
  margin: 20px 15px;
  font-size: 13px;
  color: #333;
  overflow: hidden;
  /deep/ img {
  display: block;
  width: 100%;
}
}

</style>